///////////////////////////////////////////
//
// Designed and implemented by Kangin Lee
//
// 1. Make your own macro : XXX_EXPORTS
// 2. Add to project : Project > Properties > C/C++ > Preprocessor > Preprocessor definitions
// 2. Change your own macro : XXX_EXPORTS => YOUR_OWN_EXPORTS
///////////////////////////////////////////

#ifndef DLL_API
#	if defined(_WIN32) || defined(_WIN64)
#		ifdef STATICLIBTEST_EXPORTS		
#			define DLL_API __declspec(dllexport)
#		else
#			define DLL_API __declspec(dllimport)
#		endif
#	else
#		define DLL_API
#		define __stdcall
#	endif
#endif

#ifndef LOAD_LIB
#	if defined(_WIN32) || defined(_WIN64)
#		define LOAD_LIB(name)	__pragma(comment(lib, name ## ".lib"))
#		define LOAD_LIBD(name)	__pragma(comment(lib, name ## "D.lib"))
#	else
#		define LOAD_LIB(name)	
#		define LOAD_LIBD(name)	
#	endif
#endif

#ifndef STATICLIBTEST_EXPORTS
#	if (defined(_WIN32) || defined(_WIN64))
#		ifndef _DEBUG
			LOAD_LIB("StaticLibTest")
#		else
			LOAD_LIBD("StaticLibTest")
#		endif
#	endif
#endif